package com.ddwl.schema.bo.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/6/16 23:54
 */
@ApiModel("商品分页搜索")
@Setter
@Getter
public class ItemSearchBo {

    @ApiModelProperty("商品搜索关键字")
    private String keyword;

    @ApiModelProperty("商品状态")
    private Integer itemStatus;

    @ApiModelProperty("商品id")
    private String id;

    @ApiModelProperty("商品名称")
    private String itemName;

    @ApiModelProperty("是否推荐")
    private Boolean recommend;

    @ApiModelProperty("评分")
    private Float star;

    @ApiModelProperty(value = "用户ID", hidden = true)
    private String userId;

    @ApiModelProperty("产品")
    private String product;

    @ApiModelProperty("商品分类列表")
    private List<String> categoryIds;

    @ApiModelProperty("商品分类id")
    private String categoryId;

    @ApiModelProperty("分类code 从最上级分类开始用斜杠拼接到所选择的分类为止 如： 一级分类id/二级分类id/...")
    private String categoryCode;

    @ApiModelProperty("品牌分类")
    private List<String> brandIdList;

    @ApiModelProperty("商户ID")
    private String mchId;

    @ApiModelProperty("门店ID")
    private String shopId;

    @ApiModelProperty("排序类型")
    private String orderType;

    @ApiModelProperty("商品条码")
    private String barcode;

    @ApiModelProperty("排序方向")
    private String orderDirection;

    @ApiModelProperty("活动id字符串")
    private  String activityIds;

    @ApiModelProperty("活动id列表")
    private List<String> activityIdList;

    @ApiModelProperty("活动标识")
    private String activitySgin;

    @ApiModelProperty("专题id")
    private String topicId;

    @ApiModelProperty("总销量")
    private Integer sumSales;

    @ApiModelProperty("审核状态")
    private Integer auditingStatus;

    @ApiModelProperty("审核阶段")
    private Integer auditingStage;

    @ApiModelProperty("该阶段审核通过与否（0审核拒绝 1审核通过）")
    private Integer isAuditingPass;

    @ApiModelProperty("商品类型 0：五八马平台，1：新零售店铺")
    private Integer itemType;

    @ApiModelProperty("是否可代理 0否 1是")
    private Integer agentFlag;

    @ApiModelProperty("状态 0失效 1生效 （搜索店铺代理商品时使用）")
    private Integer status;

}
